ElasticPress\Feature\WooCommerce\Products D

Total Complexity 144
Dependencies 4
Dependents 1
Total lines 1,071
Lines of code 606
Logical lines of code 324
Comment lines 333
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
maybe_set_orderby()
B
40 20 62
price_filter()
A
46 15 36
translate_args_admin_products_list()
A
44 12 44
should_integrate_with_query()
A
52 10 22
sync_taxonomies()
S
53 7 23
maybe_set_search_fields()
S
55 7 17
add_variations_skus_meta()
S
52 6 27
maybe_display_notice_about_product_ordering()
S
54 6 19
maybe_disable_decaying()
S
59 6 13
get_supported_post_types()
S
55 5 20
allow_meta_keys()
S
42 2 65
admin_product_list_request_query()
S
58 5 15
add_weight_settings_search_schema()
S
53 4 24
add_product_attributes_to_weighting()
S
55 3 21
add_product_default_post_type_weights()
S
58 3 17
translate_args()
S
58 3 17
maybe_update_tax_query()
S
59 3 15
maybe_update_meta_query()
S
61 3 12
get_orderby_meta_mapping()
S
56 2 19
add_product_attributes()
S
64 3 10
remove_author()
S
67 3 8
action_sync_on_woocommerce_sort_single()
S
64 3 10
get_supported_taxonomies()
S
58 1 18
setup()
S
55 1 18
tear_down()
S
55 1 18
add_taxonomy_attributes()
S
68 2 7
maybe_update_post_type()
S
70 2 6
maybe_handle_top_rated()
S
66 2 8
suggest_wc_add_post_type()
S
70 2 6
__construct()
S
81 1 3
add_weight_settings_search()
S
70 1 6